package com.slz3.business.module.goodsManagement.gooAttribute.service;

import com.slz3.business.module.goodsManagement.gooAttribute.domain.GooAttribute;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface GooAttributeService {

    GooAttribute save(GooAttribute gooAttribute);

    Page<GooAttribute> page(MultiValueMap<String, String> queryParams);

    GooAttribute modify(GooAttribute gooAttribute);

    Optional<GooAttribute> single(UUID uuid);

    List<GooAttribute> findAllByUuids(Iterable<UUID> uuids);

    List<GooAttribute> delete(List<GooAttribute> gooAttributeList);

}
